package cn.cdeden.knowledge.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 我的收藏
 */
@Data
@TableName(value = "files_collection")
public class FilesCollection {
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "user_id")
    private String userId;

    @TableField(value = "real_name")
    private String realName;

    @TableField(value = "file_type")
    private String fileType;

    @TableField(value = "team_id")
    private String teamId;

    //企业知识库id
    @TableField(value = "library_id")
    private Long libraryId;

    @TableField(value = "tree_node_id")
    private String treeNodeId;

    /**
     * 创建编号
     */
    @TableField(value = "create_id")
    private String createId;

    /**
     * 创建者
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 创建日期
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新编号
     */
    @TableField(value = "update_id")
    private String updateId;

    /**
     * 更新者
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}
